package com.asimplefox.controllers;

import com.asimplefox.filter.RedirectFilter;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author github kloping
 * @date 2024/11/27-14:05
 */
@Controller
public class SystemController {
/*
    @GetMapping("/")
    public String pc(HttpServletRequest request) {
        String os = RedirectFilter.getOsName(request);
        if (RedirectFilter.WINDOWS == os || RedirectFilter.MAC == os) {
            return "redirect:/index.html";
        } else {
            return "redirect:/m/index.html";
        }
    }
*/
}
